package com.yuda.campsite.service.impl;

import com.yuda.campsite.domain.JingXiaoShangFromDb;
import com.yuda.campsite.mapper.JingXiaoShangFromDbMapper;
import com.yuda.campsite.service.JingXiaoShangFromDbService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author: xiaohudie
 * @Date: 2022/1/4 9:50
 * @Version: 1.8
 */
@Service
public class JingXiaoShangFromDbImpl  implements JingXiaoShangFromDbService {
    @Resource
    private JingXiaoShangFromDbMapper jingXiaoShangFromDbMapper;
    @Override
    public List<JingXiaoShangFromDb> JingXiaoShangFromDb(String campsiteId) {
        List<JingXiaoShangFromDb> jingXiaoShangFromDbs = jingXiaoShangFromDbMapper.JingXiaoShangFromDb(campsiteId);
        return jingXiaoShangFromDbs;
    }

    @Override
    public List<JingXiaoShangFromDb> JingXiaoShangDaoBiao(String campsiteId, String name) {
        return jingXiaoShangFromDbMapper.JingXiaoShangDaoBiao(campsiteId, name);
    }
}
